package com.heima.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageResult {

    private Integer code;
    private String message;
    private Boolean success;
    private Object data;
    private Long total = 0l;
    public PageResult(Integer code,String message,Boolean success){
        this.code = code;
        this.message = message;
        this.success = success;
    }
}
